package com.tzbank.entity.backstage;

import com.tzbank.entity.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.Table;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.io.Serializable;

/**
 * 营销运营配置
 * @author 蔡宇钿
 *2018年6月14日
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Entity(name = "mb_market_operation")
@Table(appliesTo = "mb_market_operation", comment = "营销运营配置表")
public class MarketOperation extends BaseModel implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5074769593908874818L;

	/**目标渠道**/
	@ApiModelProperty(value = "目标渠道")
	@Column(name = "target_channel", columnDefinition = "varchar(50) NOT NULL COMMENT '目标渠道' ")
	private String target;
	
	/**营销类型**/
	@ApiModelProperty(value = "营销类型")
	@Column(name = "market_type", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '营销类型' ")
	private String markettype;
	
	/**展示位置**/
	@ApiModelProperty(value = "展示位置")
	@Column(name = "display_location", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '展示位置' ")
	private String displaylocation;
	
	/**区位大小**/
	@ApiModelProperty(value = "区位大小")
	@Column(name = "location_size", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '区位大小' ")
	private String locationsize;
	
	/**展示形式**/
	@ApiModelProperty(value = "展示形式")
	@Column(name = "form_display", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '展示形式' ")
	private String formdisplay;
	
	/**链接**/
	@ApiModelProperty(value = "链接")
	@Column(name = "link", columnDefinition = "varchar(50) NOT NULL COMMENT '链接' ")
	private String link;
	
	/**状态**/
	@ApiModelProperty(value = "状态")
	@Column(name = "status", columnDefinition = "varchar(10) NOT NULL COMMENT '状态' ")
	private String status;
	
	/**
	 * 操作人
	 */
	@ApiModelProperty(value = "操作人")
	@Column(name = "operator", columnDefinition = "VARCHAR(50) NOT NULL COMMENT '操作人'")
	private String operator;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext1", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext1;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext2", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext2;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext3", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext3;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext4", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext4;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext5", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext5;
	
}
